#define _CRT_SECURE_NO_WARNINGS 1
#include "InsertSort.h"


void printArray(int* array, int arraySize) {
	assert(array);
	int i = 0;
	printf("[ ");
	for (i = 0; i < arraySize; i++) {
		printf("%d ", array[i]);
	}
	printf("]\n");
}
int main() {
	int array[] = { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 };
	int arraySize = sizeof(array) / sizeof(array[0]);
	ShellSort(array, arraySize);
	printArray(array, arraySize);
	return 0;
}